/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    color: #1e50a2;
}

ul {
    list-style: none;
}

.container {
    width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 22px;
    color: #1e50a2;
    padding: 15px 0;
    border-bottom: 2px solid #1e50a2;
    margin-bottom: 15px;
}

/* 头部样式 */
.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 24px;
    color: #1e50a2;
}

.search-box {
    display: flex;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    width: 250px;
    outline: none;
}

.search-box button {
    padding: 8px 15px;
    background-color: #1e50a2;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.search-box button:hover {
    background-color: #16408c;
}

/* 导航栏样式 */
.main-nav {
    background-color: #1e50a2;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    width: 1200px;
    margin: 0 auto;
}

.main-nav li {
    position: relative;
}

.main-nav a {
    display: block;
    color: white;
    padding: 15px 25px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.main-nav a:hover {
    background-color: #16408c;
}

/* 图片展示区样式 */
.banner {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 主要内容区样式 */
.main-content {
    width: 1200px;
    margin: 30px auto;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* 新闻版块样式 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.news-item {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
}

.news-item h3 {
    color: #1e50a2;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}

.news-item li {
    padding: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 公告版块样式 */
.notice-list {
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 30px;
}

.notice-list li {
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.notice-list li:last-child {
    border-bottom: none;
}

.notice-list li span {
    color: #999;
}

/* 主内容区样式 */
.content-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.content-item {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
}

.content-item h3 {
    color: #1e50a2;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px dashed #ddd;
}

.content-item li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.content-item li:last-child {
    border-bottom: none;
}

/* 专题网站版块样式 */
.special-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.special-item {
    background-color: #f8f8f8;
    padding: 15px 10px;
    text-align: center;
    border-radius: 5px;
    transition: all 0.3s;
}

.special-item:hover {
    background-color: #1e50a2;
    color: white;
}

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 30px 0;
}

.footer-container {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #ccc;
    margin: 0 10px;
}

.footer-links a:hover {
    color: #fff;
}

.copyright p {
    color: #999;
    font-size: 14px;
    line-height: 1.8;
}